package zhao.tx.eecs.Tools;

import android.content.Context;

import com.google.zxing.client.android.Contents;

import zhao.tx.eecs.JsonModel.ParamsModel;

/**
 * Created by ishishuji on 14/12/1.
 */
public class ParamsFileDeal {

    private static final String fileName = "params.eecs";

    public static boolean isExists ( Context context ) {
        return BaseFileDeal.isFileExists ( context,fileName );
    }

    public static void saveFile ( Context context , ParamsModel paramsModel ) {
        BaseFileDeal.saveBaseFile ( context , fileName, paramsModel );
    }

    public static ParamsModel getFile ( Context context ) {
        return BaseFileDeal.getBaseFile ( context,fileName );
    }

}
